Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: Tidy up SocialRent #32

Closed
wants to merge 1 commit into from
Closed

chore: Tidy up SocialRent #32

wants to merge 1 commit into from

Conversation

DafyddLlyr
Copy link
Contributor

  • Sets up required variables for class (no more optional properties)
  • Tidies up logic a little, aiming not to make any real changes to this though

Copy link

vercel bot commented Aug 2, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
fairhold-dashboard ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 2, 2024 7:11am

@gabrielegranello
Copy link
Collaborator

Sorry I am a bit confused.. maybe we can chat at the dev call later. I sweared a created a PR for social rent during the week with fixing some of the constants, who got approved by @zz-hh-aa and then I merged it. Now it disappeared

socialRentCapValues: number[] = [
private calculateSocialRent({ numberOfBedrooms, landToTotalRatio }: Property) {
// TODO: Could this be better expressed as an object?
const beds = [0, 1, 2, 3, 4, 5, 6];
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For example I swear I brought this item out as an object and put it into constants.ts. Since the bed weights are used elsewhere I figured we could have re-use it. Mystery to me

@gabrielegranello
Copy link
Collaborator

found it, I had a branch called gg/social-rent-tidy-up, but I can't tell where it was merged

@DafyddLlyr
Copy link
Contributor Author

DafyddLlyr commented Aug 2, 2024

@gabrielegranello Yep you're right - the PR is #28

Not sure what's going on here, looking into it! I think me rebasing the branch it got merged to is the issue - will try to sort this now 👍

@DafyddLlyr
Copy link
Contributor Author

Closed in favour of #36

@DafyddLlyr DafyddLlyr closed this Aug 2, 2024
@DafyddLlyr DafyddLlyr deleted the dp/social-rent branch August 2, 2024 07:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants